﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KxzzEntity.SettingEntity
{
    [Serializable]
    public class NomalSettingEntity
    {
        private bool startupWithWindows;

        /// <summary>
        /// 随WINDOWS启动
        /// </summary>
        public bool StartupWithWindows
        {
            get { return startupWithWindows; }
            set { startupWithWindows = value; }
        }

        private bool startupMiniHomePage;

        /// <summary>
        /// 开启迷你首页
        /// </summary>
        public bool StartupMiniHomePage
        {
            get { return startupMiniHomePage; }
            set { startupMiniHomePage = value; }
        }

        private bool autoReceiveMessage;

        /// <summary>
        /// 自动接收短消息
        /// </summary>
        public bool AutoReceiveMessage
        {
            get { return autoReceiveMessage; }
            set { autoReceiveMessage = value; }
        }

        private int receiveMessageInterval = 30;

        /// <summary>
        /// 自动接收短消息间隔
        /// </summary>
        public int ReceiveMessageInterval
        {
            get { return receiveMessageInterval; }
            set { receiveMessageInterval = value; }
        }

        private bool enableGarden;

        public bool EnableGarden
        {
            get { return enableGarden; }
            set { enableGarden = value; }
        }

        private bool enablePasture;

        public bool EnablePasture
        {
            get { return enablePasture; }
            set { enablePasture = value; }
        }

        private int timeout;

        public int Timeout
        {
            get { return timeout; }
            set { timeout = value; }
        }

        private int retryTimes;

        public int RetryTimes
        {
            get { return retryTimes; }
            set { retryTimes = value; }
        }
    }
}
